projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290ecb0
)
No fsync on Windows
author
Tor Lillqvist
<tml@iki.fi>
Wed, 24 Nov 2010 12:36:18 +0000
(14:36 +0200)
committer
Tor Lillqvist
<tml@iki.fi>
Wed, 24 Nov 2010 12:36:29 +0000
(14:36 +0200)
gtk/updateiconcache.c
patch
|
blob
|
history
diff --git
a/gtk/updateiconcache.c
b/gtk/updateiconcache.c
index 7697a2c3f473c3fd6c9b1c35aabcdf479b954543..338c98c78cf26417a0de88008d42b130173618fe 100644
(file)
--- a/
gtk/updateiconcache.c
+++ b/
gtk/updateiconcache.c
@@
-1441,8
+1441,10
@@
safe_fclose (FILE *f)
g_assert (fd >= 0);
if (fflush (f) == EOF)
return FALSE;
+#ifndef G_OS_WIN32
if (fsync (fd) < 0)
return FALSE;
+#endif
if (fclose (f) == EOF)
return FALSE;
return TRUE;